package com.apes.framework.plugin.event;

//import com.apes.framework.api.DomainService;
//import com.apes.framework.plugin.esb.api.SimpleRequest;
//import com.apes.scm.sal.saleOrder.SaleOrder;
import com.apes.framework.api.DomainService;
import org.springframework.stereotype.Service;

/**
 * 功能：事件服务，发布领域事件
 *
 * @author xul
 * @create 2018-04-09 19:08
 */
@Service
public class EventService extends DomainService {

//    @Listener(topic = EventConst.POST_PERSIST_EVENT)
//    public void post(SimpleRequest request) {
//        Object model = request.getData();
//        if (model instanceof SaleOrder){
//            System.out.println(model);
//        }
//
//    }
}
